//
// Created by Zsir on 2025/7/29.
//

#include <thread>
#include "Thread.h"


Thread::Thread(Thread::Func func, void *arg)
    : func_(func),
      arg_(arg)
{
    pthread_create(&threadId_, nullptr, func_, arg_);
}

Thread::~Thread()
{
}


